@import './form.scss';
@import './box.scss';



// 4K分辨率兼容，需要全屏展示
// @media screen and (min-width: 3000px) {
//     .app-size {
//         width: 1920px;
//         height: 1080px;
//         position: absolute !important;
//         top: 50% !important;
//         left: 50% !important;
//         transform: scale(2, 2) translate(-25%, -25%) !important;
//     }
// }

// // 4K分辨率兼容，需要全屏展示
// @media screen and (max-width: 2000px) {

//     .app-size {
//         width: 100%;
//         height: 100%;
//         // width: 1920px;
//         // height: 1080px;
//     }
// }
.app-size {
    width: 100%;
    height: 100%;
    // width: 1920px;
    // height: 1080px;
}

.mapTit {
    // width: calc(100% - 894px);
    height: 59px;
    // background: linear-gradient(270deg, rgba(24, 58, 118, 0.5) 0%, rgba(0, 31, 88, 0.5) 100%);   
    text-align: left;

    span {
        display: inline-block;
        width: 243px;
        line-height: 40px;
        background: linear-gradient(270deg, rgba(24, 58, 118, 0) 0%, #001F58 100%);
        margin-top: 10px;
        font-size: 18px;
        margin-left: 3px;

        &::before {
            content: '';
            display: inline-block;
            width: 8px;
            height: 8px;
            background: #31FCF9;
            border-radius: 50%;
            margin-right: 8px;
            margin-left: 16px;
        }

        i {
            font-style: normal;
            font-family: SourceHanSansCN-Medium, SourceHanSansCN;
            font-weight: 500;
            text-shadow: 0px 2px 2px rgba(0, 0, 0, 0.5);
            background: linear-gradient(180deg, #31FCF9 0%, #3398FF 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }
    }

    >img {
        float: right;
        padding-top: 20px;
        padding-right: 17px;
        cursor: pointer;
    }
}

.tbslTit {
    font-size: 16px;
    font-weight: 500;
    color: #FFFFFF;
    text-shadow: 0px 2px 4px rgba(0, 0, 0, 0.4);
    background: linear-gradient(180deg, #FFFFFF 0%, #81E9FF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-align: left;
    margin: 16px 0 16px 11px;

    &::before {
        content: '';
        display: inline-block;
        width: 4px;
        height: 12px;
        background: linear-gradient(270deg, #FFFFFF 0%, #81E9FF 100%);
        border-radius: 2px;
        margin-right: 8px;
    }
}

.font {
    @include SpecialFont;
    background: linear-gradient(180deg, #FFFFFF 0%, #FFFFFF 45%, #81E9FF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.font--yellow {
    font-size: 28px;
    line-height: 28px;
    @include YellowFont;
}

.font--red {
    font-size: 28px;
    line-height: 28px;
    @include RedFont;
}

.font--blue {
    font-size: 28px;
    line-height: 28px;
    @include BlueFont;
}

.font--green {
    font-size: 28px;
    line-height: 28px;
    @include GreenFont;
}

.font--mini {
    font-size: 16px;
}

.font-sub {
    font-size: 14px;
    font-family: PingFangSC-Regular, PingFang SC;
    text-shadow: 0px 2px 4px rgba(0, 0, 0, 0.4);
    color: #ffffff;
    line-height: 18px;
}

ul {
    list-style: none;
}

.pie {
    &-box {
        width: 100%;
        height: 100%
    }
}

.model__container {
    .sidebar {
        position: relative;
        left: 0px;
        top: 0px;
        z-index: 10;
        width: 300px;
        height: calc(100% - 60px);
        margin: 30px;
        background-image: url("~@/assets/protect/borderRight.png");
        background-size: 100% 100%;
    }

    .model__package {
        position: absolute;
        left: 372px;
        bottom: 100px;
        width: 1136px;
        z-index: 100;
        background-image: url("~@/assets/protect/borderRight.png");
        background-size: 100% 100%;
    }

    .model__table {
        padding: 20px;
        height: calc(100% - 40px);
        overflow: hidden;
    }


    .model__toolbar {
        position: absolute;
        width: 360px;
        height: calc(100% - 120px);
        top: 20px;
        right: 11px;
        z-index: 10;
        background-image: url("~@/assets/protect/borderRight.png");
        background-size: 100% 100%;

        .model_toolbar--title {
            width: calc(100% - 32px);
            margin: 0 auto;
            height: 68px;
            line-height: 35px;
            background: linear-gradient(270deg, rgba(0, 201, 255, 0) 0%, rgba(0, 152, 255, 0.4) 50%, rgba(0, 152, 255, 0) 100%);
            box-shadow: inset 0px 0px 6px 0px rgba(0, 152, 255, 0.4);
            color: #FFFFFF;
            box-sizing: border-box;

            p {
                margin: 0;
                font-size: 14px;
            }

            .model_toolbar--txt {
                font-size: 28px;
                font-family: DINAlternate-Bold, DINAlternate;
                font-weight: bold;
                color: #FFFFFF;
                text-shadow: 0px 2px 4px rgba(0, 0, 0, 0.4);
                background: linear-gradient(180deg, #F5A824 0%, #FFD895 100%);
                -webkit-background-clip: text;
                -webkit-text-fill-color: transparent;
            }
        }

        .model_toolbar--package {
            display: flex;
            justify-content: space-between;
            padding-top: 12px;
            box-sizing: border-box;

            .model_toolbar--title {
                width: 40%;
            }
        }

    }
}

.voice__panel {
    width: 156px;
    height: 59px;
    padding: 10px;
    background: url("~@/assets/manage/panel-bg.png") no-repeat;
    background-size: 98% 90%;
    color: #fff;
    cursor: pointer;

    &:hover {
        background: url("~@/assets/voice/panel-bg.png") no-repeat;
        background-size: 100% 100%;
    }

    &.voice__panel--focus {
        background: url("~@/assets/voice/panel-bg.png") no-repeat;
        background-size: 100% 100%;
    }

    .voice__point--key {
        height: 30px;

        &[type="yellow"] {
            font-size: 28px;
            line-height: 28px;
            @include YellowFont;
        }

        &[type="red"] {
            font-size: 28px;
            line-height: 28px;
            @include RedFont;
        }

        >span:nth-child(2) {
            font-size: 14px;
        }
    }
}

::-webkit-scrollbar {
    width: 5px;
    /* 纵向滚动条 宽度 */
    height: 10px;
    /* 横向滚动条 高度 */
    border-radius: 10px;
    /* 整体 圆角 */
    background-color: rgba(0, 0, 0, .1);
}

/*定义滚动条轨道：内阴影+圆角*/
::-webkit-scrollbar-track {
    background-color: rgba(0, 0, 0, .1);

}

/*定义滑块：内阴影+圆角*/
::-webkit-scrollbar-thumb {
    border-radius: 5px;
    background-color: rgba(255, 255, 255, .1);
    cursor: pointer;
}



/*firefox*/
.el-select-dropdown .el-scrollbar .el-scrollbar__wrap {
    overflow: scroll !important; // 记得加上!important
}